//
//  SSKAlertHelper.h
//  SSKKit
//
//  Created by LiuYing on 2017/10/17.
//  Copyright © 2017年 LiuYing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@interface SSKAlertHelper : NSObject

// cancel style
+ (void)showAlert:(nullable NSString *)alertTitle
          message:(nullable NSString *)message
      cancelTitle:(NSString *)cancelTitle
          handler:(void (^ __nullable)(UIAlertAction *action))handler;

+ (void)showAlert:(nullable NSString *)alertTitle
          message:(nullable NSString *)message
      cancelTitle:(NSString *)cancelTitle
      otherTitles:(nullable NSArray <NSString *> *)otherTitles
          handler:(void (^ __nullable)(UIAlertAction *action))handler;

// sheet
+ (void)showSheet:(NSArray <NSString *> *)titles
      actionTitle:(NSString *)cancelTitle
          handler:(void (^ __nullable)(UIAlertAction *action))handler;

@end

NS_ASSUME_NONNULL_END
